# !usr/bin/env python
# -*- coding:utf-8 _*-
"""
@Author:张广勤
@Web site: https://www.tunan.wang
@Github:www.github.com
 
@File:app.py.py
@Time:2024/7/23 18:08

@Motto:不积跬步无以至千里，不积小流无以成江海！
"""
import streamlit as st


st.set_page_config(page_title="Tunan",page_icon=r'.\static\favicon.ico')

pages = {
    "我的资源" : [
        st.Page("./literature/myApp.py", title="中国文学常识"),
        st.Page("./cctv_news/myApp_news.py", title="新闻联播"),
        st.Page("./gongbao_quanguo/myApp_gongbao.py", title="全国统计公报")
    ],
    "我的探索" : [
        st.Page("./Spark_chat/chat_input1_0.py", title="Chat with me"),
        st.Page("./fenxing/fenxing1_0.py", title="分形ing"),
        st.Page("./daodejing/dao_baihua1_0.py", title="道德经原文及译文"),
        st.Page("./yi/myApp_yi1_0.py", title="易经")
        # st.Page("./yi/Yi3_3.py", title="易经金钱课"),
        # st.Page("./yi/guayaoci_tuan_xiang1_0.py", title="卦辞爻辞_彖传象传"),
        # st.Page("./yi/yi_baihua1_0.py", title="易原文及白话文"),
        # st.Page("./yi/Yi_ben_jiao1_0.py", title="本卦—>综卦"),
        # st.Page("./yi/yi_search2_0.py", title="易经关键词查找")
    ]
}

pg = st.navigation(pages)
pg.run()